package com.py.credit.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.py.credit.dao.PublicDirectoryQueryDao;
import com.py.credit.entity.PublicDirectoryQuery;
import com.py.credit.service.PublicDirectoryQueryService;
import com.py.framework.core.common.Page;

@Service
public class PublicDirectoryQueryServiceImpl implements PublicDirectoryQueryService {
	@Autowired
	private PublicDirectoryQueryDao publicDirectoryQueryDao;

	@Override
	public List<PublicDirectoryQuery> selectDeptList() {
		return publicDirectoryQueryDao.selectDeptList();
	}

	@Override
	public List<PublicDirectoryQuery> selectDataBaseList() {
		return publicDirectoryQueryDao.selectDataBaseList();
	}

	@Override
	public List<PublicDirectoryQuery> selectWhereForPage(String kId, String deptId, String sharingType, Page page,
			String title) {

		return publicDirectoryQueryDao.selectWhereForPage(kId, deptId, sharingType, page, title);
	}

}
